<?php

class adminReporting extends Controller
{
    public function index()
    {
    	// Verify if admin is logge in, otherwise redirect out
    	Helper::verifyAdminLoggedIn();
    	
	    $transactions = $this->model->getAllTransactions();
		$products = $this->model->getAllProducts();
	    //print "<pre>" . print_r($categories,true) . "</pre>";exit;
	
        // load views
        require APP . 'views/admin_templates/header.php';
        require APP . 'views/adminReporting/index.php';
        require APP . 'views/admin_templates/footer.php';
    }

}
